package com.example.demo.ExcelTest.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.example.demo.ExcelTest.util.ExcelImport;
import lombok.Data;

/**
 * @author FF998
 */
@Data
public class User {

//    private int rowNum;

    @ExcelImport(value = "手机号",maxLength = 11)
    @Excel(name = "手机号")
    private String phone;

    @ExcelImport("姓名")
    @Excel(name = "姓名")
    private String name;

    @ExcelImport("年龄")
    @Excel(name = "年龄")
    private Integer age;

    @ExcelImport("角色")
    @Excel(name = "角色")
    private String post;

//    private String rowData;
}
